﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace BT_DoHoa_Nhom13
{
    public abstract class MyGraphic
    {
        protected String name;
        public String GetName()
        {
            return name;
        }

        public abstract void SetGraphicInfo(Graphics graphic, String path);
        public abstract void DrawLine(int x1, int y1, int x2, int y2);

        public abstract void DrawRectangle(int x1, int y1, int width, int height, Boolean isFill);

        public abstract void DrawEllipse(int x1, int y1, int width, int height, Boolean isFill);

        public abstract void DrawString(int x1, int y1, int width, int height, String content);

        public abstract void DrawArc(int x, int y, int width, int height, float angleStart, float angleSweep);

        public abstract void DrawRoundRectangle(int x, int y, int width, int height,int radius, Boolean isFill);
    
    }
}
